package com.medical.admin.hospital.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.medical.admin.hospital.common.dto.ComboTypeDto;
import com.medical.admin.hospital.common.vo.ComboTypeVo;
import com.medical.admin.hospital.common.vo.ComboVo;
import com.medical.admin.hospital.common.vo.PageVo;

import java.util.List;

public interface ComboTypeService {
    Integer insert(ComboTypeDto comboTypeDto) throws JsonProcessingException;

    Integer update(ComboTypeDto comboTypeDto);

    Integer delete(Long comboTypeId);

    ComboTypeVo select(Long comboTypeId);

    PageVo<ComboTypeVo> list(String comboTypeName, int pageNum, int pageSize);

}
